
function loginCheck()
{
	var field=document.loginForm;
	if(field.txtuname.value==""){
		alert("Login ID is Blank!!");
		field.txtuname.focus();
		return false;
	}
	else if(field.txtpword.value==""){
		alert("Password is Blank!!");
		field.txtpword.focus();
		return false;
	}
	
}
function editUserForm()
{
	var field=document.userForm;
	if(field.user_fname.value=="")
	{
		alert ("User First Name is Blank");
		field.user_fname.focus();
		return false;
	}
	else if(field.user_lname.value=="")
	{
		alert("User Last Name is Blank");
		field.user_lname.focus();
		return false;
	}
	else if(field.user_email.value=="")
	{
		alert("User Email is Blank");
		field.user_email.focus();
		return false;
	}
	else if(field.user_password.value=="")
	{
		alert("User Password is Blank");
		field.user_password.focus();
		return false;
	}
	else if(field.user_cpassword.value=="")
	{
		alert("User Confirm Password is Blank");
		field.user_cpassword.focus();
		return false;
	}
}
